package com.kingschan.jeasytag.sql.query;

import java.sql.Connection;
import java.util.List;
import com.kingschan.jeasytag.enums.DbType;
/**
 * 
 * @author kingschan
 *date:2013-6-27
 */
public class SqlQueryBean {
	private Connection connection;
	private String sql_command;
	private Integer page_index;
	private Integer page_size;
	private List<String> order_by;
	private String where_str;
	private DbType dbtype; 
	
	
	
	public Connection getConnection() {
		return connection;
	}
	public void setConnection(Connection connection) {
		this.connection = connection;
	}
	public String getSql_command() {
		return sql_command;
	}
	public void setSql_command(String sqlCommand) {
		sql_command = sqlCommand;
	}
	public Integer getPage_index() {
		return page_index;
	}
	public void setPage_index(Integer pageIndex) {
		page_index = pageIndex;
	}
	public Integer getPage_size() {
		return page_size;
	}
	public void setPage_size(Integer pageSize) {
		page_size = pageSize;
	}
	
	
	public String getWhere_str() {
		return where_str;
	}
	public void setWhere_str(String whereStr) {
		where_str = whereStr;
	}
	
	
	public DbType getDbtype() {
		return dbtype;
	}
	public void setDbtype(DbType dbtype) {
		this.dbtype = dbtype;
	}
	public List<String> getOrder_by() {
		return order_by;
	}
	public void setOrder_by(List<String> order_by) {
		this.order_by = order_by;
	}
	
	
	
	
}
